home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / news / distributions / macros < prev    next >
Text File  |  1994-04-15  |  8KB  |  274 lines

  1. Newsgroups: news.admin.misc,news.lists,news.answers
  2. Path: bloom-beacon.mit.edu!hookup!swrinde!ihnp4.ucsd.edu!library.ucla.edu!csulb.edu!csus.edu!netcom.com!netcomsv!wndrsvr!mdl
  3. From: mdl@wndrsvr.la.ca.us (Mr. Distribution Lists)
  4. Subject: News Administration Macros for Geographic Distributions
  5. Message-ID: <CoBz9H.F36@wndrsvr.la.ca.us>
  6. Followup-To: news.admin.misc
  7. Summary: Macros to make sysfile administration easier for large sites
  8. Keywords: Macros!
  9. Organization: WndrSvr - Public Access for SoCal (1-310-370-3069)
  10. Date: Sat, 16 Apr 1994 02:36:53 GMT
  11. Approved: news-answers-request@MIT.Edu,spaf@cs.purdue.edu
  12. Expires: Sun, 15 May 1994 13:11:42 GMT
  13. Lines: 258
  14. Xref: bloom-beacon.mit.edu news.admin.misc:9854 news.lists:1077 news.answers:18113
  15.  
  16.  
  17. Archive-name: distributions/macros
  18. Version: $Id: dist.macro,v 1.14 1994/04/15 15:50:42 mdl Exp mdl $
  19.  
  20.  
  21. Many many thanks to Sean Goggin for donating his time and energy to
  22. producing this list for the rest of us!
  23.  
  24. Anyone should feel free to improve upon this excellent starting point 
  25. provided by Sean, and send in an updated copy.  I am posting it as is.  
  26. Thanks again Sean!!!
  27.  
  28.  
  29. ***************************************************************************
  30.  
  31. If you wish use the valid distribution list to fix news problems you may
  32. wish to :
  33.     - integrate all distributions in to one list
  34.     - ask postmasters of sites with conflicting distributions
  35.       to use an other names
  36.         EG
  37.             uw  uwashington
  38.             uw  uwaterloo
  39.     - build awk programs to parse format into m4 marcos
  40.  
  41. Enclosed is version 1.1 of the marcos I sent you.
  42. I look forward to any comments.
  43.  
  44. The current format is difficult to parse with awk, lex and yacc
  45. will likly be needed to parse it.
  46.  
  47. # m4 macros by Sean Goggin - this is in the public domain
  48. # $Log: dist.macro,v $
  49. # Revision 1.14  1994/04/15  15:50:42  mdl
  50. # *** empty log message ***
  51. #
  52. # Revision 1.13  1994/01/17  23:03:03  mdl
  53. # *** empty log message ***
  54. #
  55. # Revision 1.12  1993/10/24  03:16:53  mdl
  56. # *** empty log message ***
  57. #
  58. # Revision 1.11  1993/09/17  01:12:37  mdl
  59. # *** empty log message ***
  60. #
  61. # Revision 1.10  1993/08/16  19:11:30  mdl
  62. # *** empty log message ***
  63. #
  64. # Revision 1.9  1993/07/15  21:00:56  mdl
  65. # update
  66. #
  67. #
  68. #na: North America/Mexico*,CAN,USA
  69. define(NA, `CAN,USA')
  70.  
  71. #
  72. #usa: United States of America/NA
  73. #    rg: Rio Grande Valley/New Mexico*/USA
  74. #    pnw: Pacific North West/Idaho*,OR,WA/USA
  75. define( PNW,`pnw,OR,WA')
  76.  
  77. #    ne: New England/Connecticut*,Massachusetts*,Maine*,New Hampshire*,Rhode Island*,Vermont*/USA
  78. #    capdist: Capital District/Albany*,Schenectady*,Troy*/NY/USA
  79. #
  80. #    az: Arizona/USA
  81. #    hsv: Huntsville/Alabama*/USA
  82. #    ca: California/USA
  83. #        ba: San Francisco Bay Area/CA/USA
  84. #        chico: Chico/CA/USA
  85. #        la: Los Angeles county/CA/USA
  86. #        oc: Orange County/CA/USA
  87. #        sac: Sacramento/CA/USA
  88. #        sba: Santa Barbara/CA/USA
  89. #        scruz: Santa Cruz/CA/USA
  90. #        sdnet: San Diego county/CA/USA
  91. define( CA,`ca,ba,chico,la,oc,sac,sba,scruz,sdnet')
  92. #    co: Colorado/USA
  93. #    dc: Washington D.C./USA
  94. #    fl: Florida/USA
  95. #        mlb: Melbourne/BERVARD/FL/USA
  96. #        miami: Miami/FL/USA
  97. #        oau: Orlando/FL/USA
  98. #        sarasota: Sarasota/FL/USA
  99. #        tba: Tampa Bay Area/FL/USA
  100. define( FL,`fl,mlb,miami,oau,sarasota,tba')
  101. #    ga: Georgia/USA
  102. #        atl: Atlanta/GA/USA
  103. define( GA,`ga,atl')
  104. #    ia: Iowa/USA
  105. #        iowacity: Iowa City/IA/USA
  106. define( IA,`ia,iowacity')
  107. #    il: Illinois/USA
  108. #        chi: Chicago/IL/USA
  109. define( IL,`il,chi')
  110. #    in: Indiana/USA
  111. #    ks: Kansas/USA
  112. #        mhk: Manhattan/KS/USA
  113. #        kc: Kansas City/Kansas City metro*/USA
  114. define( KS,`ks,mhk,kc')
  115. #    ky: Kentucky/USA
  116. #    lou: Louisiana/USA
  117. #        neworleans: New Orleans/LOU/USA
  118. define( LOU,`lou,neworleans')
  119. #    md: Maryland/USA
  120. #    mi: Michigan/USA
  121. #        aa: Ann Arbor/MI/USA
  122. #        det: Detroit/MI/USA
  123. define( MI,`mi,aa,det')
  124. #    mn: Minnesota/USA
  125. #    mo: Missouri/USA
  126. #        stl: St. Louis/MO/USA
  127. define( MO,`mo,stl')
  128. #    nc: North Carolina/USA
  129. #        triangle: Research Triangle Park area/NC/USA
  130. define( NC,`nc,triangle')
  131. #    nj: New Jersey/USA
  132. #        bergen: Bergen County/NJ/USA
  133. define( NJ,`nj,bergen')
  134. #    ny: New York/USA
  135. #        nyc: New York City/NY/USA
  136. #        wny: Western NY(Rochester,Buffalo)/NY/USA
  137. define( NY,`ny,nyc,wny')
  138. #    oh: Ohio/USA
  139. #        akron: Akron/OH/USA
  140. #        cle: Cleveland/OH/USA
  141. #        cmh: Columbus/OH/USA
  142. define( OH,`oh,akron,cle,cmh')
  143. #    ok: Oklahoma/USA
  144. #    or: Oregon/USA
  145. #        pdx: Portland/OR/USA
  146. define(    OR,`or,pdx')
  147. #    pa: Pennsylvania/USA
  148. #        pgh: Pittsburgh/PA/USA
  149. #        phl: Philadelphia/PA/USA
  150. define( PA,`pa,pgh,phl')
  151. #    tn: Tennessee/USA
  152. #    tx: Texas/USA
  153. #        austin: Austin/TX/USA
  154. #        houston: Houston/TX/USA
  155. #        dfw: Dallas-Ft Worth/TX/USA
  156. define( TX,`tx,austin,houston,dfw')
  157. #    utah: Utah/USA
  158. #    va: Virginia/USA
  159. #        tdw: Tidewater/VA/USA
  160. define( VA,`va,tdw')
  161. #    wa: Washington/USA
  162. #        sea: Seattle/WA/USA
  163. #        seattle: Seattle/WA/USA
  164. define( WA,`wa,sea,seattle')
  165. #    wi: Wisconsin/USA
  166. #        milw: Milwaukee/WI/USA
  167. define( WI,`wi,milw')
  168. define( USA,`rg,PNW,ne,capdist,az,hsv,CA,co,dc,FL,GA,IA,IL,KS,ky,LOU,md,MI,mn,MO,NC,NJ,NY,OH,OR,PA,tn,TX,utah,VA,WA,WI')
  169.  
  170. #
  171. #aus: Australia
  172. #can: Canada
  173. #    ab: Alberta/CAN
  174. #        edm: Edmonton/AB/CAN
  175. define( AB,`ab,edm')
  176. #    bc: British Columbia/CAN
  177. #    ns: Nova Scotia/CAN
  178. #        hfx: Halifax/NS/CAN
  179. define( NS,`ns,hfx')
  180. #    qc: Quebec/CAN
  181. #        mtl: Montreal/QC/CAN
  182. #    atl: Atlantic Provinces/NS, New Brunswick*, Prince Edward Island*, Newfoundland*/CAN
  183. #    ont: Ontario/CAN
  184. #        kw: Kitchener-Waterloo/ONT/CAN
  185. #        ott: Ottawa/ONT/CAN
  186. #        tor: Toronto/ONT/CAN
  187. #        kingston: Kingston/ONT/CAN/NA
  188. define(    ONT,`ont,kw,ott,tor,kingston')
  189. define( CAN,`AB,bc,NS,qc,atl,ONT')
  190.  
  191. #ch: Switzerland
  192. #fj: Japan
  193. #ie: Ireland
  194. #il: Israel
  195. #na: Namibia
  196. #nlnet: Netherlands
  197. #no: Norway
  198. #nz: New Zealand
  199. #    wgtn: Wellington/NZ
  200. define( NZ,`nz,wgtn')
  201. #se: Sweden
  202. #sfnet: Finland
  203. #su: Soviet Union
  204. #    relcom: Relcom/Russia*/SU
  205. define( SU,`su,relcom')
  206. #uk: United Kingdom
  207. #    cam: Cambridge/England*/UK
  208. #    cov: Coventry/England*/UK
  209. #    lon: The London UK area/England*/UK
  210. #    midlands: Midlands Area/England*/UK
  211. #    scot: Scotland/UK
  212. #        ed: Edinburgh/SCOT/UK
  213. define( SCOT,`scot,ed')
  214. define( UK,`uk,cov,lon,midlands,SCOT')
  215. #es: Spain/EUNET
  216. #za: South Africa
  217. #    uninet: University Net/ZA
  218. define( ZA,`za,uninet')
  219. #
  220. #belwue: Baden-Wuerttemberg/Germany/Europe*
  221. #stgt: Stuttgart/BELWUE/Germany*/Europe
  222. #ka: Karlsruhe/Beden-Wuerttemberg/Germany/Europe
  223.  
  224. # Only the ME line is mandatory; the others are just samples of how to do
  225. # things.  Virtually everything will need modifying for your local feeds
  226. # and newsgroups.
  227.  
  228. # line indicating what we are willing to receive; note local groups on end
  229.  
  230. # You may use a macro defined above to express all the valid local groups
  231. # for an region.
  232. #
  233. # For example the "CAN" in the next line will be converted all valid
  234. # Canadian regional groups
  235. ME:comp,news,sci,rec,misc,soc,talk,CAN
  236.  
  237. # sample insignificant feed not using batching (for special situations only)
  238. lemsys:alt.binaries.pictures.erotica.female::uux - -r -gd lemsys!rnews
  239. huey:news.config,to.huey/all::uux - -r -gd huey!rnews
  240.  
  241. # sample of mailing newsgroups to someone (note distribution)
  242. daisy:soc.women,soc.couples/all::mail daisy@duck
  243.  
  244. # sample small feed using batching
  245. gladstone:comp.protocols.tcp-ip,rec.aviation/all:f:
  246.  
  247. # sample major batched feed, including (unnecessary) explicit file name
  248. dewey:comp,news,sci,rec,misc,soc,talk,to.dewey,can,ont,tor,ut/all:f:dewey/togo
  249.  
  250. # sample long-haul feed; note no local groups
  251. donald:comp,news,sci,rec,misc,soc,talk,to.donald/all:f:
  252.  
  253. # sample local-postings-only feed direct to major site (gets them out fast)
  254. scrooge:comp,news,sci,rec,misc,soc,talk,to.scrooge/all:Lf:
  255.  
  256. # sample ihave/sendme link
  257. # NOTE, this is the old ihave/sendme, not related to NNTP in any way.
  258. # Send ihave telling louie what we have -- batcher turns the batch into a
  259. # giant control message and posts it to "to.louie".  (#1)
  260. louie:comp,news,sci,rec,misc,soc,talk,!to/all,!sendme,!ihave:I:louie.ihave/togo
  261. # Send sendme in response to ihave from louie -- again, turned by batcher
  262. # into giant control message posted to "to.louie".  (#3)
  263. louie-send-ids:to.louie/ihave:I:louie.sendme/togo
  264. # Transmit said giant control messages by normal batching.  (#2,#4)
  265. louie-ctl:to.louie/all,!sendme,!ihave:f:louie/togo
  266. # Send articles in response to sendme messages from louie. (#5)
  267. louie-real:to.louie/sendme:f:louie/togo
  268. # Actually the last two could be combined.
  269.  
  270. # also, since ihave/sendme is slow, send local postings to louie without
  271. # waiting (beware ihave/sendme)
  272. louie-local:comp,news,sci,rec,misc,soc,talk/all,!sendme,!ihave:L:
  273.  
  274.